use_frameworks!

platform :ios, '13.0'

target 'MZTool_Example' do
  pod 'MZTool', :path => '../'
#  pod 'MZIMKit', :path => '/Users/zhangzhiyi/Documents/Project/MZIMKit'

  
  pod 'SwiftyJSON', '5.0.0'
  pod 'HandyJSON', '5.0.2'
  pod 'CTMediator'
  pod 'MBProgressHUD', '1.2.0'
  pod 'SVProgressHUD', '~> 2.2.5'
  pod 'MJRefresh', '3.7.5'
  pod 'NVActivityIndicatorView'
  pod "PromiseKit", "~> 6.8"
#  pod "Alamofire"
  
  pod 'RxSwift', '~> 6.5.0'
  pod 'RxCocoa', '~> 6.5.0'
  pod 'Then'
#  pod 'FDFullscreenPopGesture'
  
  
#  target 'MZTool_Tests' do
#    inherit! :search_paths

    #pod 'Quick', '~> 2.2.0'
    #pod 'Nimble', '~> 8.0.7'
    #pod 'FBSnapshotTestCase' , '~> 2.1.4'
    #pod 'Nimble-Snapshots' , '~> 8.0.0'
    
#    pod 'ZegoExpressEngine/Video'

#  end
end


post_install do |installer|
    installer.pods_project.targets.each do |target|
        if target.name == 'RxSwift'
            target.build_configurations.each do |config|
                if config.name == 'Debug'
                    config.build_settings['OTHER_SWIFT_FLAGS'] ||= ['-D', 'TRACE_RESOURCES']
                end
            end
        end
    end
    installer.generated_projects.each do |project|
        project.targets.each do |target|
            target.build_configurations.each do |config|
                config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
             end
        end
   end
end
